package quq.missq.beans;

import java.util.ArrayList;
import java.util.LinkedList;

/**
 * Created by River on 8/3/15.
 */
public class CommentsBean {

    private int code;
    private Data data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public class Data{
        private boolean count;
        private int firstResult;
        private int maxResults;
        private int next;
        private int pageCount;
        private int pageNo;
        private int prev;
        private int size;
        private int totalCount;
        private LinkedList<Result> results;
        public boolean isCount() {
            return count;
        }

        public void setCount(boolean count) {
            this.count = count;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getNext() {
            return next;
        }

        public void setNext(int next) {
            this.next = next;
        }

        public int getPageCount() {
            return pageCount;
        }

        public void setPageCount(int pageCount) {
            this.pageCount = pageCount;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPrev() {
            return prev;
        }

        public void setPrev(int prev) {
            this.prev = prev;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public LinkedList<Result> getResults() {
            return results;
        }

        public void setResults(LinkedList<Result> results) {
            this.results = results;
        }
    }

    public class Result{
        private ArrayList<Attach> attachs;
        private Author author;
        private String content;
        private String created;
        private int id;
        private int imageId;
        private int parentId;
        private int praised;
        private int praises;
        private Author replyUser;

        public ArrayList<Attach> getAttachs() {
            return attachs;
        }

        public void setAttachs(ArrayList<Attach> attachs) {
            this.attachs = attachs;
        }

        public Author getAuthor() {
            return author;
        }

        public void setAuthor(Author author) {
            this.author = author;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getImageId() {
            return imageId;
        }

        public void setImageId(int imageId) {
            this.imageId = imageId;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public int getPraised() {
            return praised;
        }

        public void setPraised(int praised) {
            this.praised = praised;
        }

        public int getPraises() {
            return praises;
        }

        public void setPraises(int praises) {
            this.praises = praises;
        }

        public Author getReplyUser() {
            return replyUser;
        }

        public void setReplyUser(Author replyUser) {
            this.replyUser = replyUser;
        }
    }

}
